package com.peas.platform.module.icims.expenditure.expenses.dto;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

// 报账单支出信息
@Data
@EqualsAndHashCode(callSuper = false)
public class ExpenditureReimbursementPayDto extends BaseDto {

    // 报账单ID
    // （报账单表）外键
    @Comment(value = "报账单ID")
    private Long expenditureReimbursementId;

    // 支付方式
    // 字典取值:ExpenditurePay
    @Comment(value = "支付方式", dictType = "ExpenditurePay")
    private String payType;

    // 结算方式
    // 字典取值:ExpenditureSettlement
    @Comment(value = "结算方式", dictType = "ExpenditureSettlement")
    private String settleType;

    // 支付账户
    @Comment(value = "支付账户")
    @Condition(operator = ConditionOperator.IN)
    private String payAccount;

    // 收付标识
    // 枚举取值:ExpenditurePay
    @Comment(value = "收付标识", enumType = "ExpenditurePay")
    private String pay;

    // 金额
    @Comment(value = "金额")
    private BigDecimal amount;

    // 摘要
    @Comment(value = "摘要")
    private String paySummary;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
